<?php
require_once('ut3stats/UT3SakeStorage.php');
header('Content-Type: text/plain');

$ticket = null; # <- change this, see misc/gsticket.py

$fields = array_merge(UT3SakeStorage::$CommonFields, array('Pure_PlayerDM_EVENT_KILLS')); # SELECT
$filter = "Nick LIKE '%test%'"; # WHERE
$sort = 'Pure_PlayerDM_EVENT_KILLS DESC'; # ORDER BY

$ss = new UT3SakeStorage($ticket);

$res = $ss->SearchForRecords($fields, $filter, $sort);

var_dump($res->getData());

?>
